home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
qostnote.arc
/
DVOFMAT.TEC
< prev
next >
Wrap
Text File
|
1990-07-05
|
4KB
|
124 lines
DESQVIEW.DVO file consists of individual records:
┌───────────────────────────────────────────┐
│ Program Record for 1st program in list │
├───────────────────────────────────────────┤
│ Program Record for 2nd program in list │
├───────────────────────────────────────────┤
| |
├───────────────────────────────────────────┤
│ Program Record for last program in list │
├───────────────────────────────────────────┤
│ End of Program List Record │
├───────────────────────────────────────────┤
│ Add/Delete/Change a Program Information │
└───────────────────────────────────────────┘
Program Record Structure:
byte n bytes byte byte byte byte byte
┌────────┬──────────────────┬──────┬──────┬────┬────┬────┐
│Length │ NAME of Program │ Key1 │ Key2 │ 00 │ 00 │ 00 │
│of NAME │ │ │ │ │ │ │
└────────┴──────────────────┴──────┴──────┴────┴────┴────┘
End of Program List Record Structire:
byte byte byte byte byte byte
┌────┬────┬────┬────┬────┬────┐
│ 00 │ 00 │ 00 │ 04 │ 00 │ 00 │
│ │ │ │ │ │ │
└────┴────┴────┴────┴────┴────┘
Add/Delete/Change a Program Information:
0D 41 64 64 20 61 20 50 72 6F 67 72 61 6D 41 50
00 00 00 10 44 65 6C 65 74 65 20 61 20 50 72 6F
67 72 61 6D 44 50 80 00 00 10 43 68 61 6E 67 65
20 61 20 50 72 6F 67 72 61 6D 43 50 81 00 00 FF
Example DESQview.DVO -
The Open Window menu is:
▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
▐ Open Window ▌
▐ ▌
▐ 43 line DOS Direct 43 ▌
▐ API Debugger AD ▌
▐ BASIC Examples EX ▌
▐ TASKMAN TM ▌
▐──────────────────────────▌
▐ Add a Program AP ▌
▐ Delete a Program DP ▌
▐ Change a Program CP ▌
▐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
And the corresponding DESQVIEW.DVO is:
(L = length of Name, K1 = Key1, K2 = Key2)
L ┌─────────────── 12 (hex) characters ───────────────┐ K1 K2
Prog1 12 34 33 20 6C 69 6E 65 20 44 4F 53 20 44 69 72 65 63 74 34 33 00 00 00
4 3 l i n e D O S D i r e c t 4 3
L ┌────── 0C (hex) characters ──────┐ K1 K2
Prog2 0C 41 50 49 20 44 65 62 75 67 67 65 72 41 44 00 00 00
A P I D e b u g g e r A D
L ┌───────── 0E (hex) characters ─────────┐ K1 K2
Prog3 0E 42 41 53 49 43 20 45 78 61 6D 70 6C 65 73 45 58 00 00 00
B A S I C E x a m p l e s E X
L ┌─ 07 (hex) chars ─┐ K1 K2
Prog4 07 54 41 53 4B 4D 41 4E 54 4D 00 00 00
T A S K M A N T M
End of 00 00 00 04 00 00
List
AP/DP/ 0D 41 64 64 20 61 20 50 72 6F 67 72 61 6D 41 50
CP Info 00 00 00 10 44 65 6C 65 74 65 20 61 20 50 72 6F
67 72 61 6D 44 50 80 00 00 10 43 68 61 6E 67 65
20 61 20 50 72 6F 67 72 61 6D 43 50 81 00 00 FF
To add the program 'Planner-X' with the keys PX to the above DESQVIEW.DVO file,
you would place the following record IN BETWEEN Prog3 and Prog4 record:
L ┌─── 09 (hex) chars ─────┐ K1 K2
NuProg 09 50 6C 61 6E 6E 65 72 2D 58 50 58 00 00 00
P l a n n e r - X P X
NOTE THAT THE ORDER OF THE PROGRAMS IN THE DESQVIEW.DVO FILE DEFINES THEIR ORDER
IN THE OPEN WINDOW MENU - IT IS UP TO YOU TO PLACE THE NEW PROGRAM RECORDS IN
THE CORRECT PLACE IN THE FILE!
This will produce the following Open Window Menu:
▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
▐ Open Window ▌
▐ ▌
▐ 43 line DOS Direct 43 ▌
▐ API Debugger AD ▌
▐ BASIC Examples EX ▌
▐ Planner-X PX ▌
▐ TASKMAN TM ▌
▐──────────────────────────▌
▐ Add a Program AP ▌
▐ Delete a Program DP ▌
▐ Change a Program CP ▌
▐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
It is advised that you do not generate the DESQVIEW.DVO file from scratch, but
rather update the one already present since this one already contains the
Add/Delete/Change a Program Information at the end.